//
//  Student.h
//  base_m_04
//
//  Created by China Dragon on 2023/1/25.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface Student : NSObject{
    int _age;
    int _no;
}

-(void)setAge:(int)age;
-(int)age;

-(void)setNo:(int)no;
-(int)no;

//-(Student *) initWithAge:(int)age;//构造函数
//Student *指针
-(id) initWithAge:(int)age;//构造函数，id可以代表任意类型

@end

NS_ASSUME_NONNULL_END
